<script setup lang="ts">
import { onMounted } from 'vue'
import templateResolveRequest from '~/api/template-resolve'

const props = defineProps<{
  templateId: string
}>()

onMounted(() => {
  templateResolveRequest.all(props.templateId).then(({ data }) => {
    console.log(data)
  })
})
</script>

<template>
  <div>$END$</div>
</template>

<style scoped>

</style>
